package com.cc.model.dto

import jakarta.validation.constraints.Size
import java.io.Serializable
import java.time.LocalDateTime

/**
 * DTO for {@link com.cc.model.ScriptMonitor}
 */
data class ScriptMonitorDto(
    @field:Size(max = 32) val id: String? = null,
    @field:Size(max = 32) val monitorScriptId: String? = null,
    @field:Size(max = 32) val monitorSuccess: String? = null,
    @field:Size(max = 32) val monitorFail: String? = null,
    val monitorStatus: Int? = null,
    val runStatus: String? = null,
    val lastExecuteTime: LocalDateTime? = null,
    val nextExecuteTime: LocalDateTime? = null,
    val addTime: LocalDateTime? = null,
    @field:Size(max = 32) val addUser: String? = null,
    val editTime: LocalDateTime? = null,
    @field:Size(max = 32) val editUser: String? = null,
    val delFlag: Int? = null
) : Serializable